//
//  YYPullCell.m
//  drivingSchool
//
//  Created by 子yu 刘 on 2018/11/12.
//  Copyright © 2018年 子yu 刘. All rights reserved.
//

#import "YYPullCell.h"

@implementation YYPullCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.titleLabel = [[UILabel alloc] init];
        self.titleLabel.textAlignment = NSTextAlignmentCenter;
        self.titleLabel.font = [UIFont systemFontOfSize:12];
        [self.contentView addSubview:self.titleLabel];
        [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_offset(0);
        }];
    }
    return self;
}


@end
